package com.woniu.uums.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "gateway-server", path = "uums-server")
public interface LoginFeign {
    /**
     * 登录
     *
     * @param username
     * @param password
     * @return
     */

    @PostMapping("/login")
    String login(@RequestParam("username") String username, @RequestParam("password") String password);
}